import T3 from './T-3.vue'
import T1 from './T-1.vue'
import T11 from './T-1-1.vue'
import T111 from './T-1-1-1.vue'
import T2 from './T-2.vue'
import T21 from './T-2-1.vue'
import T211 from './T-2-1-1.vue'
import T22 from './T-2-2.vue'
import MenuViewTest from "./menu_view_test_index.vue";
import T112 from './T-1-1-2.vue'
import T113 from './T-1-1-3.vue'
import T114 from './T-1-1-4.vue'
import T115 from './T-1-1-5.vue'
import T116 from './T-1-1-6.vue'
import T117 from './T-1-1-7.vue'
import T118 from './T-1-1-8.vue'

const menuTestRoutes = [
    {
        name: "menuTestView",
        path: "/menuTestView",
        component: ()=>import("@/components/menu/demo/menu_view_test_index.vue"),
        meta: {
            title: "MenuViewTest",
            isNavMenu:true,
            icon:'el-icon-edit'
        },
        children: [
            {
                name: "route-3",
                path: "dir-3",
                component: T3,
                meta: {
                    title: "title-3 affix",
                    isNavMenu:true,
                    icon:'el-icon-edit',
                    layerOrder:3,
                    affix:true,
                },
            },
            {
                name: "route-1",
                path: "dir-1",
                component: T1,
                meta: {
                    title: "title-1",
                    isNavMenu:true,
                    icon:'el-icon-edit',
                    layerOrder:1,
                },
                children: [
                    {
                        name: "route-1-1",
                        path: "dir-1-1",
                        component: T11,
                        meta: {
                            title: "title-1",
                            isNavMenu:true,
                            icon:'el-icon-edit',
                            layerOrder:0,
                        },
                        children: [
                            {
                                name: "route-1-1-1",
                                path: "dir-1-1-1",
                                component: T111,
                                meta: {
                                    title: "title-1-1-1",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-1-2",
                                path: "dir-1-1-2",
                                component: T112,
                                meta: {
                                    title: "title-1-1-2",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-3",
                                path: "dir-1-1-3",
                                component: T113,
                                meta: {
                                    title: "title-1-1-3",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-1-4",
                                path: "dir-1-1-4",
                                component: T114,
                                meta: {
                                    title: "title-1-1-4",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-1-5",
                                path: "dir-1-1-5",
                                component: T115,
                                meta: {
                                    title: "title-1-1-5",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-6",
                                path: "dir-1-1-6",
                                component: T116,
                                meta: {
                                    title: "title-1-1-6",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-7",
                                path: "dir-1-1-7",
                                component: T117,
                                meta: {
                                    title: "title-1-1-7",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                            {
                                name: "route-1-8",
                                path: "dir-1-1-8",
                                component: T118,
                                meta: {
                                    title: "title-1-1-8",
                                    isNavMenu:true,
                                    icon:'el-icon-edit',
                                    // affix:true,
                                },
                            },
                        ]
                    },
                    
                ]
            },
            {
                name: "route-2",
                path: "dir-2",
                component: T2,
                meta: {
                    title: "title-2",
                    isNavMenu:true,
                    icon:'el-icon-edit',
                    layerOrder:2,
                },
                children: [
                    {
                        name: "route-2-1",
                        path: "dir-2-1",
                        component: T21,
                        meta: {
                            title: "title-2-1",
                            isNavMenu:true,
                            icon:'el-icon-edit',
                            layerOrder:3,
                        },
                        children: [
                            {
                                name: "route-2-1-1",
                                path: "dir-2-1-1",
                                component: T211,
                                meta: {
                                    title: "title-2-1-1",
                                    isNavMenu:true,
                                    icon:'el-icon-edit'
                                },
                            },
                        ]
                    },
                    {
                        name: "route-2-2",
                        path: "dir-2-2",
                        component: T22,
                        meta: {
                            title: "title-2-2",
                            isNavMenu:true,
                            icon:'el-icon-edit',
                            layerOrder:1,
                        },
                    },
                ]
            },
        ],
    },
];

export { menuTestRoutes };
